<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>error</title>
    <meta charset="UTF-8">
</head>
<body>
<h1>无权限操作</h1>
<table border="1" cellspacing="0" width="800px">
    <tr>
        <td>编号</td>
        <td>部门</td>
    </tr>
    <c:forEach var="stu" items="${stulist}" varStatus="sta">
<%--      var="stu" items="stulist" varStatus="sta"  --%>
<%--        1.起的别名2.后台传过来的数据3.行变量--%>
        <tr>
            <td>${sta.count}</td>
            <td>${stu.deptname}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>